{% extends "../layout.njk" %} 

{% block body %}
  <div class="ht-container" style="text-align: center;">
    <img src="/public/imgs/onlineCenter/pcAccount.jpg" alt="pc开户" style="max-width: 100%;">
  </div>
  <div class="float">
    {# <div class="item">
      <a href="/"><i class="icon icon-chevron-up"></i></a>
    </div> #}

    <div class="item">
      <a href="https://hongtaqh.cfmmc.com/">马上开户</a>
    </div>
    <div class="item">
      <a href="/cms/onlineCenter/account">返回</a>
    </div>
  </div>
{% endblock %}

{% block script %}
  <script>
    let float = document.querySelector('.float');
    let cw = document.documentElement.clientWidth;
    if(cw>1200){
      float.style.right = (cw - 1200) / 2  + 'px';
    } else {
      float.style.right = '0px';
    }
  </script>
{% endblock %}